﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace RealEstateApp.WebUI.Models
{
    public class TaskModel
    {
        [Key]
        public int TaskId { get; set; }

        [Required]
        [Display(Name = "Nội dung")]
        public string Name { get; set; }


        [Display(Name = "Mô tả")]
        public string Description { get; set; }

        [Display(Name = "Ngày bắt đầu")]
        public DateTime? StartDate { get; set; }


        [Display(Name = "Ngày kết thúc")]
        public DateTime? EndDate { get; set; }

        public string StartHour { get; set; }

        public string EndHour { get; set; }

        public int CustomerId { get; set; }

        public int EmployeeId { get; set; }

    }
}